[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
     index(STR,SUBSTR,POSITION)

     index(STR,SUBSTR)

             Returns the position  of  the  first  occurrence  of
             SUBSTR  in STR at or after POSITION.  If POSITION is
             omitted, starts searching from the beginning of  the
             string.  The return value is based at 0, or whatever
             you've set the $[ variable to.  If the substring  is
             not  found,  returns  one  less than the base, ordi-
             narily -1.

See Also: rindex
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson